#import "ONAppDelegate.h"
#define APP_DELEGATE            ((ONAppDelegate*)[UIApplication sharedApplication].delegate)
#define STATUS_BAR_COLOR          [UIColor colorWithRed:79.0f/255.0f green:193.0f/255.0f blue:233.0f/255.0f alpha:1.0]
#define TEXT_TITLE_COLOR          [UIColor colorWithRed:79.0f/255.0f green:193.0f/255.0f blue:233.0f/255.0f alpha:1.0]
#define COLOR_OF_TEXT          [UIColor colorWithRed:179.0f/255.0f green:184.0f/255.0f blue:188.0f/255.0f alpha:1.0]
#define COLOR_OF_TEXT          [UIColor colorWithRed:179.0f/255.0f green:184.0f/255.0f blue:188.0f/255.0f alpha:1.0]
#define COLOR_OF_TABBAR          [UIColor colorWithRed:79.0f/255.0f green:193.0f/255.0f blue:233.0f/255.0f alpha:1.0]

#define kJBColorLineChartControllerBackground UIColorFromHex(0xb7e3e4)
#define kJBColorLineChartBackground UIColorFromHex(0xb7e3e4)
#define kJBColorLineChartHeader [UIColor colorWithRed:79.0f/255.0f green:193.0f/255.0f blue:233.0f/255.0f alpha:1.0]
#define kJBColorLineChartHeaderSeparatorColor UIColorFromHex(0x8eb6b7)
#define kJBColorLineChartDefaultSolidLineColor [UIColor colorWithWhite:1.0 alpha:0.5]
#define kJBColorLineChartDefaultSolidSelectedLineColor [UIColor colorWithWhite:1.0 alpha:1.0]
#define kJBColorLineChartDefaultDashedLineColor [UIColor colorWithRed:1.0 green:0.0 blue:0.0 alpha:1.0]
#define kJBColorLineChartDefaultDashedSelectedLineColor [UIColor colorWithWhite:1.0 alpha:1.0]


#pragma mark - Footers
#define kJBFontFooterLabel [UIFont fontWithName:@"HelveticaNeue-Light" size:12.0]
#define kJBFontFooterSubLabel [UIFont fontWithName:@"HelveticaNeue" size:10.0]

#pragma mark - Headers

#define kJBFontHeaderTitle [UIFont fontWithName:@"HelveticaNeue-Bold" size:24]
#define kJBFontHeaderSubtitle [UIFont fontWithName:@"HelveticaNeue-Light" size:14]

#pragma mark - Information

#define kJBFontInformationTitle [UIFont fontWithName:@"HelveticaNeue" size:20]
#define kJBFontInformationValue [UIFont fontWithName:@"HelveticaNeue-CondensedBold" size:100]
#define kJBFontInformationUnit [UIFont fontWithName:@"HelveticaNeue" size:60]

#pragma mark - Tooltip

#define kJBFontTooltipText [UIFont fontWithName:@"HelveticaNeue-Bold" size:14]

#define kJBColorBarChartControllerBackground UIColorFromHex(0x313131)
#define kJBColorBarChartBackground UIColorFromHex(0x3c3c3c)
#define kJBColorBarChartBarBlue UIColorFromHex(0x08bcef)
#define kJBColorBarChartBarGreen UIColorFromHex(0x34b234)
#define kJBColorBarChartHeaderSeparatorColor UIColorFromHex(0x686868)

#define kJBColorTooltipColor [UIColor colorWithWhite:1.0 alpha:0.9]
#define kJBColorTooltipTextColor UIColorFromHex(0x313131)
#define kJBStringLabelMm localize(@"label.mm", @"mm")
#define kJBStringLabelMetropolitanAverage localize(@"label.metropolitan.average", @"Metropolitan Average")
#define kJBStringLabelNationalAverage localize(@"label.national.average", @"National Average")
#define kJBStringLabelHours localize(@"label.hours", @"h")
#define localize(key, default) NSLocalizedStringWithDefaultValue(key, nil, [NSBundle mainBundle], default, nil)
#define kJBStringLabelAverageDailyRainfall localize(@"label.average.daily.rainfall", @"Average Daily Rainfall")
#define kJBStringLabel2013 localize(@"label.2013", @"2013")

__unused static NSString * kURLAuthenication = @"http://brandify.idvnn.com/signup.php";
__unused static NSString * kURLGetData = @"http://brandify.idvnn.com/login.php";

__unused static NSString * isRegisterSuccess =@"isRegisterSuccess";
__unused static NSString * stokenIDKey =@"StokenID";
#define K_Notification_UserInfo @"K_Notification_UserInfo"
#define K_Push_Notification @"K_Push_Notification"

